package com.xinjian.jianba.exception;

/**
 * 前后端交互的状态码.
 *
 *
 */
public final class ResponseCode {

	private ResponseCode() {
	}

	/**
	 * 系统未知异常提示信息.
	 */
	public static final String SYSTEM_ERROR_MSG = "系统繁忙，请稍后再试.";

	/**
	 * 错误状态码,在返回对象的meta.
	 */
	public static final Integer ERROR = 500;

	/**
	 * 成功状态码,在返回对象的meta.
	 */
	public static final Integer SUCCESS = 200;

	/**
	 * 请求参数错误统一状态码.
	 */
	public static final Integer BAD_REQUEST = 400;

	/**
	 * 沒有权限
	 */
	public static final Integer CODE_401 = 401;

	public static final String SUCCESS_MSG = "成功！";
	
	public static final String ERROR_MSG = "系统异常！";

	public static final String SMS_ERROR_MSG = "验证码发送失败";

	public static final String SMS_EXIT_MSG = "验证码已经发送";

	public static final String PARAM_ERROR_MSG = "参数异常";

}
